import 'package:car_map/page/res/styles.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
///医院模块分割标题
class WidgetHospitalModelTitle extends StatelessWidget{

  final String title;

  const WidgetHospitalModelTitle({Key key, this.title}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Container(
      decoration: BoxDecoration(
        border: Border(
          bottom: BorderSide(
            color: Colors.black12,
            width: 0.5
          )
        )
      ),
      padding: EdgeInsets.only(left: 10.0,right: 10.0,bottom: 5.0),
      alignment: Alignment.center,
      height: ScreenUtil().setHeight(60.0),
      child: Row(
        crossAxisAlignment: CrossAxisAlignment.center,
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: <Widget>[
          Text('${title}',),
          Row(
            children: <Widget>[
              Text('更多',style: TextStyles.textGray14,),
              Icon(Icons.navigate_next)
            ],
          )
        ],
      ),
    );
  }

}